<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <defaults public="false" />

        <service id="web_profiler.debug_toolbar" class="Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener">
            <tag name="kernel.event_subscriber" />
            <argument type="service" id="twig" />
            <argument>%web_profiler.debug_toolbar.intercept_redirects%</argument>
            <argument>%web_profiler.debug_toolbar.mode%</argument>
            <argument type="service" id="router" on-invalid="ignore" />
            <argument /> <!-- paths that should be excluded from the AJAX requests shown in the toolbar -->
            <argument type="service" id="web_profiler.csp.handler" />
        </service>
    </services>
</container>
